package com.sise.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sise.bean.CodeMsg;
import com.sise.bean.OrderMasterBean;
import com.sise.entity.OrderMaster;

import java.util.List;

/**
 * @author zj
 */
public interface IOrderMasterService extends IService<OrderMaster> {
    /**
     * 获取所有订单信息
     */
    List<OrderMasterBean> findAllOrder();

    /**
     * 获得订单状态为已付款的数量
     */
    CodeMsg orderStatusPaidCount();

    /**
     * 订单的配送和完成
     */
    CodeMsg<String> deliveryAndCompletion(String[] orderIdList, Integer status);
}
